<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>新增注册管理系统</title>
    <link href="../static/css/modification.css" rel="stylesheet" />
    <link href="../static/layui/css/layui.css" rel="stylesheet"/>
    <script src="../static/layui/layui.js" rel="script"></script>
</head>
<body>
<div class="LoginBody">
    <div class="LogDingFrame">
        <h1 class="TitleLogDing">修改密码</h1>
        <form method="post" action="">
            <div class="layui-form-item">
                <label class="layui-form-label">输入账号</label>
                <div class="layui-input-inline" style="width: 258px">
                    <input type="text" name="username" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">联系电话</label>
                <div class="layui-input-inline" style="width: 258px">
                    <input type="text" name="username" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">输入密码</label>
                <div class="layui-input-inline" style="width: 258px">
                    <input type="password" name="password" placeholder="请输入密码" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">确认密码</label>
                <div class="layui-input-inline" style="width: 258px">
                    <input type="password" name="password" placeholder="请输入密码" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <div style="margin-left: 80px;min-height: 36px;margin-top: 10%;">
                    <button type="submit" class="layui-btn layui-btn-radius layui-btn-normal" lay-submit="" lay-filter="demo1">修改密码</button>
                    <button type="reset" class="layui-btn layui-btn-primary layui-btn-radius">重置</button>
                    <a href="/login" class="layui-btn layui-btn-primary layui-btn-radius">返回登陆</a>
                </div>
            </div>

        </form>
        <script>
            //Demo
            layui.use('form', function(){
                var form = layui.form;

                //监听提交
                form.on('submit(formDemo)', function(data){
                    layer.msg(JSON.stringify(data.field));
                    return false;
                });
            });
        </script>
    </div>
</div>
</body>
</html>